
import datolib.*;

public class PlatformImplementation {
	
	private Platform platform;
	private String classFile;
	private String cimlFile;
	private String applicationID;
	
	
	
	public PlatformImplementation(String appID, Platform plat, String clasFl, String cimlFl) {
		this.applicationID = appID;
		this.platform = plat;
		this.classFile = clasFl;
		this.cimlFile = cimlFl;
	}
	
	public PlatformImplementation duplicate() {
		PlatformImplementation pi = new PlatformImplementation(new String(this.applicationID),
																this.platform,
																new String(this.classFile),
																new String(this.cimlFile)); 
		return pi;
	}
	
	public String classFile() {
		return this.applicationID + "." + this.classFile;
	}
	
	public Platform platform() {
		return this.platform;
	}
/*	
	public String cimlPath() {
		return this.designDirectory + "/" + this.cimlFile + ".ciml";
	}
*/
	public String cimlFile() {
		return this.cimlFile + ".ciml";
	}

		
}
